package com.ys.entity.finance;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_ManageTransact", catalog="Id")
public class TcwManageTransact extends BaseEntity<TcwManageTransact> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="FirstType", nameJava="firstType", typeDataBase="varchar")
	private String firstType;
	@YsField(nameDataBase="SecondType", nameJava="secondType", typeDataBase="varchar")
	private String secondType;
	@YsField(nameDataBase="ThirdType", nameJava="thirdType", typeDataBase="varchar")
	private String thirdType;
	@YsField(nameDataBase="IntegrityType", nameJava="integrityType", typeDataBase="varchar")
	private String integrityType;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwManageTransact setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TcwManageTransact setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public String getFirstType() {
		return firstType;
	}
	public TcwManageTransact setFirstType(String firstType) {
		this.firstType = firstType;
		return this;
	}
	public String getSecondType() {
		return secondType;
	}
	public TcwManageTransact setSecondType(String secondType) {
		this.secondType = secondType;
		return this;
	}
	public String getThirdType() {
		return thirdType;
	}
	public TcwManageTransact setThirdType(String thirdType) {
		this.thirdType = thirdType;
		return this;
	}
	public String getIntegrityType() {
		return integrityType;
	}
	public TcwManageTransact setIntegrityType(String integrityType) {
		this.integrityType = integrityType;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwManageTransact setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwManageTransact setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwManageTransact setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwManageTransact tcwManageTransact(
		String bid,
		String firstType,
		String secondType,
		String thirdType,
		String integrityType,
		Integer status
			) {
		TcwManageTransact entity = new TcwManageTransact();
		entity.setBid(bid);
		entity.setFirstType(firstType);
		entity.setSecondType(secondType);
		entity.setThirdType(thirdType);
		entity.setIntegrityType(integrityType);
		entity.setStatus(status);
		return entity;
	}
}